<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=s, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
</head>
<body>
    <div id="app">
        <p>年纪{{age}}</p>
        <p>名字{{name}}</p>
        <img :src="imgSrc" :width="size" alt="">
    </div>
    <script>
        const vm = new Vue({
            el:"#app",
            data(){
                return{
                    age:12,
                    name:"wjy",
                    imgSrc: "https://t7.baidu.com/it/u=1951548898,3927145&fm=193&f=GIF",
                    size:200
                }
            }

        })
    </script>
</body>
</html>